package com.zoomabug.list;

import java.util.Iterator;

/**
 * {@link Iterator} does not allow you to access the next element of the list
 * without advancing the cursor. This simple extension provides access to the
 * next element using {@link #peekAtNext()} that allows access to the next
 * element without advancing the iterator.
 * 
 * @author Jeff Axelrod
 * 
 * @param <T>
 */
public interface PeekableIterator<T> extends Iterator<T>, CanPeekAtNext<T> {}